/**
 * Created by Colin3dmax on 16/12/26.
 */
'use strict';

module.exports = store => next => action =>
  Array.isArray(action)
    ? action.map(next)
    : next(action);
